<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	response.setCharacterEncoding("UTF-8");
	response.setContentType("text/xml");
	response.setHeader("Cache-Control","no-cache"); 
	response.setHeader("Pragma","no-cache"); 
%>
<menu>
	<!-- id , text就是menu的名 , disable为true就不可用 , action用于绑定js事件 -->
	<!-- id , text就是menu的名 , disable为true就不可用 , action用于绑定js事件 -->
	<s:if test="objctForm.state==0 && objctForm.entryUser==#session.user.userId">
		<item id="a" text="编辑"  action='showDialog("鼎烜集团  网络办公自动化系统","<%=basePath %>officesuppliesEntry/officesuppliesEntryAction!gotoEdit.action?id=<s:property value='id' />","500","250");'/>
		<item id="a" text="取消申请"  action='showDialog("鼎烜集团  网络办公自动化系统","<%=basePath %>officesuppliesEntry/officesuppliesEntryAction!gotoChangeState.action?objctForm.id=<s:property value='id' />&amp;objctForm.state=-1","320","150");'/>
		<!-- 
		 
		<item id="a" text="删除"  action='showDialog("鼎烜集团  网络办公自动化系统","<%=basePath %>officesuppliesEntryAction!gotoDel.action?id=<s:property value='id' />","320","150");'/>
		-->
	</s:if>
	<s:if test="objctForm.state==0 && objctForm.checkUser==#session.user.userId">
		<item id="a" text="通过"  action='showDialog("鼎烜集团  网络办公自动化系统","<%=basePath %>officesuppliesEntry/officesuppliesEntryAction!gotoChangeState.action?objctForm.id=<s:property value='id' />&amp;objctForm.state=1","320","150");'/>
		<item id="a" text="不通过"  action='showDialog("鼎烜集团  网络办公自动化系统","<%=basePath %>officesuppliesEntry/officesuppliesEntryAction!gotoChangeState.action?objctForm.id=<s:property value='id' />&amp;objctForm.state=2","320","150");'/>
	</s:if>
</menu>
